package com.nativetalk.dao;

import com.nativetalk.bean.live.TdNtLiveMemberState;

import java.util.List;
import java.util.Map;

/**
 * Created by wangzheng on 2017/2/27.
 */
@MyBatisRepository
public interface TdNtLiveMembDao {
    /**
     * @param map
     * @return void
     * @Purpose 插入直播状态为上课(没举手, 也没上麦)
     * @version 4.1
     * @author wangzheng
     */
    public void insertTdNtLiveMemb(Map<String, Object> map);

    /**
     * @param map
     * @return void
     * @Purpose 更新直播状态
     * @version 4.1
     * @author wangzheng
     */
    public void updateTdNtLiveMemb(Map<String, Object> map);

    /**
     * @param map
     * @return TdNtLiveMemberState
     * @Purpose 根据用户Id查询直播状态
     * @version 4.1
     * @author wangzheng
     */
    public TdNtLiveMemberState findTdNtLiveMembByMembId(Map<String, Object> map);

    /**
     * @param live_cou_his_id
     * @return TdNtLiveMemberState
     * @Purpose 获取直播队列的学生信息
     * @version 4.1
     * @author wangzheng
     */
    public List<TdNtLiveMemberState> findTdNtLiveMembQueueInfo(int live_cou_his_id);
}
